﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ReferralTracker.Data.Entities {
    public class UserDetail {
        [Key]
        public int IdUser { get; set; }
        public string ReferralId { get; set; }
        public string ParentReferralId { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string SignUpIPAddress { get; set; }
        public string LastLogInIPAddress { get; set; }
        public DateTime LastLoginDate { get; set; }
        
        public virtual User User { get; set; }
    }
}
